package com.guigu.health.service;

import com.guigu.health.pojo.Order;
import com.guigu.health.pojo.OrderSetting;

import java.util.List;
import java.util.Map;

/**
 * @ClassName:OrderSettingService
 * @Description:预约设置业务
 * @Author:longtao
 * @Date:2021/4/12
 * @Version:1.0
 */
public interface OrderSettingService {

    /**
     * 预约设置,设置每天的日期
     * @param orderSetting
     * @return
     */
    public boolean addOrderSetting(OrderSetting orderSetting);

    /**
     * 显示预约设置的所有值
     * @return
     */
    public List<OrderSetting> queryAllOrderSetting();

    /**
     * 根据日期查询预约设置数据
     * @param date
     * @return
     */
    public List<Map> getOrderSettingByMonth(String date);
}
